package com.cyf.db.mapper;

import com.cyf.db.bean.AppFeedback;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * app用户的意见反馈
 * Created by cage on 2017/2/27.
 */

public interface AppFeedbackMapper {

    @Insert("insert into app_feedback(userId, content, createdTime) values(#{feedback.userId}, #{feedback.content}, #{feedback.createdTime})")
    void insertFeedback(@Param("feedback") AppFeedback feedback);
}
